import mongoose from 'mongoose'
const Schema = mongoose.Schema
const ObjectId = Schema.ObjectId
import moment from 'moment'

let Tag = new Schema({
  fatherId: {type: String, default: ''},
  name: {type: String, default: ''},
  isDelete: {type: Boolean, default: false},
  createTime: {type: Number, default: Date.now()}
});

mongoose.model('Tag', Tag)

export default mongoose.model('Tag')